package org.thirdHero.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.thirdHero.db.domain.SysRedPackage;
import org.thirdHero.db.domain.SysRedPackageExample;

public interface SysRedPackageMapper {
    long countByExample(SysRedPackageExample example);

    int deleteByExample(SysRedPackageExample example);

    int deleteByPrimaryKey(String id);

    int insert(SysRedPackage record);

    int insertSelective(SysRedPackage record);

    SysRedPackage selectOneByExample(SysRedPackageExample example);

    SysRedPackage selectOneByExampleSelective(@Param("example") SysRedPackageExample example, @Param("selective") SysRedPackage.Column ... selective);

    List<SysRedPackage> selectByExampleSelective(@Param("example") SysRedPackageExample example, @Param("selective") SysRedPackage.Column ... selective);

    List<SysRedPackage> selectByExample(SysRedPackageExample example);

    SysRedPackage selectByPrimaryKeySelective(@Param("id") String id, @Param("selective") SysRedPackage.Column ... selective);

    SysRedPackage selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SysRedPackage record, @Param("example") SysRedPackageExample example);

    int updateByExample(@Param("record") SysRedPackage record, @Param("example") SysRedPackageExample example);

    int updateByPrimaryKeySelective(SysRedPackage record);

    int updateByPrimaryKey(SysRedPackage record);
}